package com.kang.c0c.optimize;


public class Address {
	private int stack;
	private int reg;
	private boolean stored;
	
	public Address(){
		this(-1,-1,false);
	}
	
	public Address(int stack, int reg, boolean stored){
		this.stack = stack;
		this.reg = reg;
		this.stored = stored;
	}
	
	public int getStack() {
		return stack;
	}

	public void setStack(int stack) {
		this.stack = stack;
	}

	public int getReg() {
		return reg;
	}

	public void setReg(int reg) {
		this.reg = reg;
	}

	public boolean isStored() {
		return stored;
	}
	
	public void setStored(boolean stored) {
		this.stored = stored;
	}
}
